package com.shareppy.normanhttp.tasks;

@SuppressWarnings("serial")
public class TaskException extends Exception {

	private int statusCode;
	private String statusMessage;

	public TaskException(Throwable cause) {
		super(cause);
	}
	
	public TaskException(int statusCode, String statusMessage) {
		this.statusCode = statusCode;
		this.statusMessage = statusMessage;
	}

	public int getStatusCode() {
		return statusCode;
	}

	public String getStatusMessage() {
		return statusMessage;
	}
}